"""
@File    : father2.py
@Author  : WorldWind(1772830365@qq.com)
@Time    : 2025/7/14
@Address : ChangSha - BoWeiFeng
@Date    : 2025/7/14 下午2:44
"""


class father:
    skin = 'white'

    def __init__(self):
        self.nation = 'USA'
        print(f'我来自,{self.nation}')

    def sing(self):
        print('I like singing')

    @staticmethod
    def run():
        print('我喜欢跑步!')

    def __del__(self):
        print('This is __del__ method. The father class has been recycled')


class mother:
    skin = 'black'

    def __init__(self):
        self.nation = 'France'
        print(f'我来自:{self.nation}')

    def sing(self):
        print('我不喜欢唱歌')

    @staticmethod
    def run():
        print("我不喜欢跑步")

    def __del__(self):
        print('This is __del__ method. The mother class has been recycled')


class son(father, mother):
    pass

# 创建对象
s = son()
print(s.nation,s.skin)
s.sing()
s.run()
